package com.lh.web.service.serviceAdmin.banner;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Banner;
import com.lh.common.entity.admin.BannerDetail;
import com.lh.common.utils.PageUtils;
import java.util.Map;

/**
 * @author FH
 * @ClassName: BannerService
 * @Description: (类作用)
 * @date: 2020-05-08 16:57
 */
public interface BannerService extends IService<Banner> {

    PageUtils queryBannerList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    BannerDetail queryBannerById(Long bannerId, String type, String banner);

    int insertBanner(BannerDetail bannerDetail);

    int updateBanner(BannerDetail bannerDetail);

    int deleteBanner(Long[] bannerIds);

    int selectBanner();

    int updateBannerStatus(Map<String, Object> param);

    int queryBanner(Long aid);

    Map<String, Object> queryShopStatus(String shopType,String sid);
}
